from internal_page import InternalPage

class FilmViewPage(InternalPage):


    @property
    def delete_button(self):
        list = self.driver.find_elements_by_class_name("button")
        index = len(list)-1
        return list[index].find_element_by_tag_name("a")

    @property
    def film_info(self):
        return self.driver.find_element_by_class_name("maininfo_full").find_element_by_tag_name("h2")

